home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / misc / ChangeLog < prev    next >
Text File  |  1994-04-25  |  60KB  |  2,167 lines

  1. Sat Apr 23 08:58:23 1994  Ian Searle  (ian@quixote)
  2.  
  3.     * Release v0.99b
  4.  
  5.     * code.c (intcatch_wait): Mods to prevent unwanted termination
  6.     from multiple ^C.
  7.  
  8.     * matop2.c (matrix_Pow1): Fix a.^0 computation.
  9.  
  10. Tue Apr 12 21:27:56 1994  Ian Searle  (ian@quixote)
  11.  
  12.     * scan.l: Add .+ .-
  13.  
  14. Fri Apr  8 22:17:47 1994  Ian Searle  (ian@quixote)
  15.  
  16.     * code.c (list_assign): Allow 1st element of matrix as list index
  17.     for conversion to string.
  18.  
  19.     * rfile.c (cat_help_file_DOS): New function, added as a DOS
  20.     bandaid.
  21.  
  22. Tue Apr  5 17:13:17 1994  Ian Searle  (ian@quixote)
  23.  
  24.     * bio.c: Changed "r" and "w" to "rb" and "wb".
  25.  
  26. Sun Apr  3 18:07:20 1994  Ian Searle  (ian@quixote)
  27.  
  28.     * scan.l (rlab_yy_input): Added some code to feed flex a dummy
  29.     line if it has already read the '\n' before a flush_line occurs.
  30.  
  31. Tue Mar 29 21:19:13 1994  Ian Searle  (ian@quixote)
  32.  
  33.     * Renamed a bunch of files. Should be better now on crippled OSes.
  34.  
  35.     * matop2.c (matrix_VectorAddCol): New function.
  36.     (matrix_VectorAddRow): New function.
  37.  
  38. Sun Mar 27 18:17:40 1994  Ian Searle  (ian@quixote)
  39.  
  40.     * bltin2.c: Added #include <time.h> for tic() and toc().
  41.  
  42.     * rfile.c: Added #ifdefs for DOS inablility to handle popen in
  43.     rfile and help commands.
  44.  
  45. Thu Mar 24 21:35:57 1994  Ian Searle  (ian@quixote)
  46.  
  47.     * math_3.c (Filter): New function.
  48.  
  49. Sat Mar 19 00:22:52 1994  Ian Searle  (ian@quixote)
  50.  
  51.     * Break bltin.c into bltin1.c and bltin2.c.
  52.  
  53. Fri Mar 18 23:50:51 1994  Ian Searle  (ian@quixote)
  54.  
  55.     * test (l): Added ascii I/O tests.
  56.  
  57. Wed Mar 16 18:45:53 1994  Ian Searle  (ian@quixote)
  58.  
  59.     * bltin.c (Read): Removed fseek() and ftell() usage from read().
  60.  
  61. Mon Mar 14 20:09:59 1994  Ian Searle  (ian@quixote)
  62.  
  63.     * Dump rksuite, and replace with ode.f. Rename rks* to ode*.
  64.  
  65.     * matrix_op2.c (matrix_ReadGeneric): Overhaul readm() so that it
  66.     can read from pipes, or from the middle of a file...
  67.  
  68. Tue Mar  8 23:41:30 1994  Ian Searle  (ian@quixote)
  69.  
  70.     * rksi.f: New file.
  71.  
  72.     * rksi.h: New file.
  73.  
  74.     * rksuite.f: New file.
  75.  
  76.     *  rks.c: New file.
  77.  
  78. Tue Mar  1 21:35:46 1994  Ian Searle  (ian@quixote)
  79.  
  80.     * bio.c (scalar_ReadB): Remove extraneous strlen() call.
  81.     (matrix_ReadB): Remove old index usage.
  82.  
  83. Sun Feb 27 12:08:00 1994  Ian Searle  (ian@quixote)
  84.  
  85.     * test: Added binary file I/O tests.
  86.  
  87. Sat Feb 26 23:13:20 1994  Ian Searle  (ian@quixote)
  88.  
  89.     * bio.c: Changes to make matrix output MATLAB compatible.
  90.  
  91. Thu Feb 24 17:18:58 1994  Ian Searle  (ian@quixote)
  92.  
  93.     * rlib/save.r (save): Use writeb() instead of write().
  94.  
  95. Sun Feb 20 20:26:30 1994  Ian Searle  (ian@quixote)
  96.  
  97.     * bi_io.c: New file, contains binary file I/O functions.
  98.  
  99. Sat Feb 19 21:37:24 1994  Ian Searle  (ian@quixote)
  100.  
  101.     * bltin.c (Write): Fix write() so that argument checking is
  102.     correct. 
  103.  
  104.     * getline.c (Getline): Make getline() return a NULL string if a
  105.     blank line is encountered.
  106.  
  107. Tue Feb  8 20:41:42 1994  Ian Searle  (ian@quixote)
  108.  
  109.     * matrix_op2.c (matrix_Acos): Same change as below...
  110.  
  111.     * scalar_op1.c (scalar_Acos): Same change as below...
  112.  
  113.     * trig.c (Asin): Make asin() and acos() work for values >= 1.
  114.  
  115. Mon Feb  7 17:49:05 1994  Ian Searle  (ian@quixote)
  116.  
  117.     * bltin.c (Reshape): Make reshape() accept scalar numeric values. 
  118.  
  119. Sun Feb  6 22:18:51 1994  Ian Searle  (ian@quixote)
  120.  
  121.     * toolbox/nmsmax.r: New function.
  122.  
  123.     * toolbox/mdsmax.r: New function.
  124.  
  125. Sat Feb  5 22:07:39 1994  Ian Searle  (ian@quixote)
  126.  
  127.     * code.c (function_call): Numerous changes and restructuring to
  128.     make code more functional, and allow usage from other C source
  129.     code (getting ready for dynamic linking).
  130.  
  131. Fri Feb  4 23:04:58 1994  Ian Searle  (ian@quixote)
  132.  
  133.     * util.c (call_rlab_script): New function.
  134.  
  135.     * code.c (userf): New function.
  136.  
  137. Sun Jan 30 16:35:17 1994  Ian Searle  (ian@quixote)
  138.  
  139.     * Makefile.in: Made changes to Makefile to make non-UNIX usage
  140.     easier (OS/2, DOS, etc...).
  141.  
  142. Tue Jan 25 05:31:52 1994  Ian Searle  (ian@quixote)
  143.  
  144.     * toolbox/window.r (window): Return a column vector.
  145.  
  146. Thu Jan 20 17:11:08 1994  Ian Searle  (ian@quixote)
  147.  
  148.     * math_3.c (SchOrd): New function.
  149.  
  150.     * fi_2.c (matrix_Schur_Reorder): New function.
  151.  
  152. Sat Jan  8 13:58:50 1994  Ian Searle  (ian@quixote)
  153.  
  154.     * matrix_op1.c (matrix_scalar_eq): Allow equality tests between
  155.     matrices of numbers, and strings.
  156.     (matrix_scalar_ne): Allow equality tests between matrices of
  157.     numbers, and strings.
  158.  
  159. Fri Jan  7 20:39:05 1994  Ian Searle  (ian@quixote)
  160.  
  161.     * matrix_op1.c (matrix_ne): Allow equality tests between matrices
  162.     of numbers, and strings.
  163.     (matrix_eq): Allow equality tests between matrices of numbers, and
  164.     strings. 
  165.  
  166.     * matrix_op2.c (matrix_string_eq): Allow equality tests between
  167.     matrices, and strings.
  168.  
  169.     * relation.c (ent_ent_eq): Allow equality tests between scalars
  170.     and strings
  171.  
  172. Tue Jan  4 21:55:23 1994  Ian Searle  (ian@quixote)
  173.  
  174.     * test: Added lu/factor tests.
  175.  
  176. Tue Dec 14 19:11:49 1993  Ian Searle  (ian@quixote)
  177.  
  178.     * code.c (init_frame): New functions.
  179.  
  180. Mon Dec 13 17:24:29 1993  Ian Searle  (ian@quixote)
  181.  
  182.     * rfile.c (path_split): Make ':' a static variable called
  183.     PATHT_SEP so non-Unix platforms can change it easily.
  184.  
  185. Sun Dec 12 21:27:19 1993  Ian Searle  (ian@quixote)
  186.  
  187.     * code.c (find_lineno): Added a fail-safe so that we don't back
  188.     off of the code-stack.
  189.  
  190. Sat Dec 11 14:51:39 1993  Ian Searle  (ian@quixote)
  191.  
  192.     * rlab.y (ryyerror): Started using flush_line again. This time I
  193.     got it working :-).
  194.  
  195.     * btree.c (btree_sizeof): New function.
  196.  
  197.     * bltin.c (Sizeof): New function.
  198.  
  199. Mon Dec  6 19:48:29 1993  Ian Searle  (ian@quixote)
  200.  
  201.     * Switch to using flex-2.4.3
  202.  
  203. Fri Dec  3 23:14:12 1993  Ian Searle  (ian@quixote)
  204.  
  205.     * r_plot.c (_plot_plspause): New function.
  206.  
  207. Thu Dec  2 21:05:15 1993  Ian Searle  (ian@quixote)
  208.  
  209.     * print.c (rfile_Destroy): Remove if test, and error message from
  210.     fclose(). 
  211.  
  212. Wed Dec  1 19:12:16 1993  Ian Searle  (ian@quixote)
  213.  
  214.     * bltin.c (Strtod): Make strtod take matrices as well.
  215.  
  216.     * rlib/plplot.r: More updates to plplot.r
  217.  
  218. Tue Nov 23 19:05:09 1993  Ian Searle  (ian@quixote)
  219.  
  220.     * test: Many additional tests added.
  221.  
  222.     *  (fi_?.c): Changed all comparisons between ints and long ints
  223.     (info). 
  224.  
  225.     * r_plot.c (_plot_plprint): Added plflush(), and plend1().
  226.  
  227. Mon Nov 22 21:42:05 1993  Ian Searle  (ian@quixote)
  228.  
  229.     * test (a): Added matrix relational tests.
  230.  
  231.     * matrix_op1.c (matrix_lt): Fix typo.
  232.  
  233. Sun Nov 21 20:56:29 1993  Ian Searle  (ian@quixote)
  234.  
  235.     * bltin.c (Strtod): New function.
  236.  
  237. Wed Nov 17 19:15:09 1993  Ian Searle  (ian@quixote)
  238.  
  239.     * init.c: Add in PLPLOT code.
  240.  
  241.     * random.c (Rand): Change back to f2c *.f for ranlib, and make
  242.     necessary type casts in random.[ch]
  243.  
  244.     * math_3.c (FFT): Add F_INT declarations to avoid alignment
  245.     problems. 
  246.  
  247. Tue Nov 16 19:49:39 1993  Ian Searle  (ian@quixote)
  248.  
  249.     * config.h.in: Add #else #include <malloc.h>
  250.  
  251.     * mem.h: Remove #ifdef __STDC__ , and let config.h take care of
  252.     stdlib.h, or malloc.h.
  253.  
  254. Mon Nov 15 17:16:37 1993  Ian Searle  (ian@quixote)
  255.  
  256.     * matrix_op1.c (matrix_MultiplyCC): Must make sure to use ints
  257.     that are F_INT with BLAS subroutines.
  258.  
  259. Sat Nov 13 11:50:57 1993  Ian Searle  (ian@quixote)
  260.  
  261.     * LOTS of changes for improved fortran interface: New lp.[fh],
  262.     bl.[fh], and fi.h. Many mods to fi_1.c, and fi_2.c
  263.  
  264. Fri Nov 12 21:09:37 1993  Ian Searle  (ian@quixote)
  265.  
  266.     * mathl.c (Rrint): Rename rint() so that it can be used on systems
  267.     with broken rint().
  268.  
  269. Wed Nov 10 22:14:59 1993  Ian Searle  (ian@quixote)
  270.  
  271.     * math_2.c (Eig): Take all the argument overloading out of eig(),
  272.     now eig() just does eig(A), or eig(A, B).
  273.  
  274. Fri Nov  5 17:25:14 1993  Ian Searle  (ian@quixote)
  275.  
  276.     * math_2.c (Eig): Added "u" option.
  277.  
  278. Sat Oct 30 20:57:30 1993  Ian Searle  (ian@quixote)
  279.  
  280.     * btree.c (btree_Print): Add list name printing (like scalars
  281.     matrices, and strings).
  282.  
  283.     * r_string.c (string_Print): New function.
  284.  
  285.     * matrix.c (matrix_Print): Don't print out variable with "-N"
  286.     name, (function arguments).
  287.  
  288.     * scalar.c (scalar_Print): Don't print out variable with "-N" name
  289.     (function arguments).
  290.  
  291.     * main.c (main): Add -h option, prints out error message.
  292.  
  293. Fri Oct 29 19:20:07 1993  Ian Searle  (ian@quixote)
  294.  
  295.     * code.c (list_assign): Left g out of sprintf() format.
  296.  
  297. Tue Oct 26 18:54:38 1993  Ian Searle  (ian@quixote)
  298.  
  299.     * Obtained new getopt related files from the GNU libc.
  300.  
  301. Sat Oct 23 09:21:56 1993  Ian Searle  (ian@quixote)
  302.  
  303.     * bltin.c (Read): Now taks a 2nd argument (optional) which
  304.     specifies a list that the data can be installed onto.
  305.  
  306.     * rlib/fix.r (fix): Mods to function from bradh to handle complex.
  307.  
  308.     * trig.c (Atan2): More generic now.
  309.  
  310.     * matrix_op2.c (matrix_Atan2): Added 1-by-1 checks.
  311.  
  312. Fri Oct 22 21:04:07 1993  Ian Searle  (ian@quixote)
  313.  
  314.     * rlib/finite.r (finite): Return TRUE if element is finite.
  315.  
  316.     * math_1.c (Mod): Mods to handle combinations of different size
  317.     matrices. 
  318.  
  319.     * matrix_op2.c (matrix_Mod): Mods to handle  1-by-1 matrices.
  320.  
  321.     * config.h.in: Fix logic surrounding FP_SET_MASK.
  322.  
  323.     * main.c (warning_1): Moved commas around.
  324.  
  325. Wed Oct 20 20:08:47 1993  Ian Searle  (ian@quixote)
  326.  
  327.     * list_node.c (listNode_SetScope): New function.
  328.     (listNode_SetNum): New function.
  329.  
  330.     * list_node.h: Add two new fields. For scope checking, and
  331.     list-node ordering.
  332.  
  333. Sun Oct 17 09:47:23 1993  Ian Searle  (ian@quixote)
  334.  
  335.     * toolbox/czt.r (czt): Improve default arg checking.
  336.  
  337. Sat Oct 16 13:57:54 1993  Ian Searle  (ian@quixote)
  338.  
  339.     * fi_1.c (matrix_Eig_GNEP): Use complex_div instead of
  340.     complex_Div. This keeps AIX cc from puking when compiled with -O. 
  341.  
  342. Sat Oct  9 23:51:23 1993  Ian Searle  (ian@quixote)
  343.  
  344.     * rlib/isempty.r: Fixed, was backwards.
  345.  
  346. Sun Oct  3 22:36:51 1993  Ian Searle  (ian@quixote)
  347.  
  348.     * toolbox/fftplot.r (fftplot): Fix it so frequency scale is
  349.     returned, and mag and ph are truncated.
  350.  
  351. Sat Oct  2 08:35:51 1993  Ian Searle  (ian@quixote)
  352.  
  353.     * main.c (main): Add some more command line options.
  354.  
  355.     * op_append.c (matrix_matrix_app): Changed matrix_Copy to
  356.     matrix_copy_complex. 
  357.  
  358.     * code.c (function_default_return): Removed unused variable tmp.
  359.     (bltin): Removed unused variable tmp.
  360.  
  361.     * matrix_op2.c (matrix_Pow2): Fix stupid bug. Using wrong MAT
  362.     macro.
  363.  
  364.     * test: Added eigenvalue tests.
  365.  
  366. Fri Oct  1 23:36:17 1993  Ian Searle  (ian@quixote)
  367.  
  368.     * math_2.c (Eig): Finish up new eig() features.
  369.  
  370. Sun Sep 26 09:57:01 1993  Ian Searle  (ian@quixote)
  371.  
  372.     * fi_1.c (matrix_Eig_SEP): New function.
  373.  
  374. Sat Sep 25 16:22:34 1993  Ian Searle  (ian@quixote)
  375.  
  376.     * math_3.c (matrix_is_symm): New function.
  377.     (Issymm): New function.
  378.  
  379. Wed Sep 22 21:40:29 1993  Ian Searle  (ian@quixote)
  380.  
  381.     * code.c (list_assign): Change numeric to string conversion to
  382.     ".6g". and fix lack of iCONSTANT in list_assign().
  383.  
  384. Tue Sep 14 18:52:03 1993  Ian Searle  (ian@quixote)
  385.  
  386.     * util.c (cpstr_strip): SIZE_T change.
  387.  
  388.     * r_string.c (string_Read): SIZE_T change.
  389.  
  390.     * mem.c (xrealloc): Changed all SIZE_T to size_t.
  391.  
  392.     * rlib/plot.r (plotm): Remove name() uses, replace with "?"
  393.     temporarily. 
  394.  
  395. Sat Sep 11 11:17:52 1993  Ian Searle  (ian@quixote)
  396.  
  397.     * fi_2.c (matrix_Sylv_Complex): New function.
  398.  
  399.     * math_3.c (Sylv): New function.
  400.  
  401.     * fi_2.c (matrix_Sylv_Real): New function.
  402.     (matrix_Sylv): New function.
  403.  
  404. Fri Sep 10 16:31:24 1993  Ian Searle  (ian@quixote)
  405.  
  406.     * complex.c (complex_gt): Change complex relationals back to
  407.     original method (using magnitudes).
  408.  
  409. Thu Sep  9 21:37:57 1993  Ian Searle  (ian@quixote)
  410.  
  411.     * bltin.c (System): Remove name() function.
  412.     (Matrix_cast): Fix string-matrix cast.
  413.     (Scalar_cast): Fix string-scalar casts.
  414.     (Show): Add string to type descriptor.
  415.  
  416.     * random.c (SRand): Add if(once) statement so that srand() can be
  417.     called before rand().
  418.  
  419. Tue Sep  7 17:51:00 1993  Ian Searle  (ian@quixote)
  420.  
  421.     * matrix_op2.c (matrix_Pow1): Fix up [m].^salar ops.
  422.     (matrix_is_positive): New function.
  423.  
  424.     * scalar_op1.c (scalar_Pow): Fix up powers (again).
  425.  
  426. Mon Sep  6 09:33:06 1993  Ian Searle  (ian@quixote)
  427.  
  428.     * math_2.c (Sort): Make string sort, a vector function.
  429.  
  430.     * op.c (ent_ent_add): Add matrix-string adds.
  431.  
  432.     * matrix_op2.c (matrix_string_add): New function.
  433.  
  434.     * r_string.c (string_add): New function.
  435.  
  436. Mon Aug 30 18:16:11 1993  Ian Searle  (ian@quixote)
  437.  
  438.     * scan.l: Ignore \f (form-feed control character.
  439.  
  440.     * rlab.y: Made a[], and a[;] allowable (they are no-ops).
  441.  
  442. Sun Aug 29 00:01:13 1993  Ian Searle  (ian@quixote)
  443.  
  444.     * math_3.c: Same as math_2.c.
  445.     (FFT): Move position of tmp2 creation so that it occurs after
  446.     matrix has been either trucated, or extended.
  447.     (IFFT): Move position of tmp2 creation so that it occurs after
  448.     matrix has been either trucated, or extended.
  449.  
  450.     * math_2.c: Use TARG_DESTROY macro in all functions where
  451.     convert_to_matrix, or convert_to_scalar is used.
  452.  
  453.     * print.c (do_printf): Must check argcnt <= 0 since argcnt is
  454.     unsigned. 
  455.  
  456.     * rlab.h: Removed some of the portability oriented defines, and
  457.     put them in config.h
  458.  
  459.     * rlib/isinf.r (isinf): Check for -inf also.
  460.  
  461.     * rlib/linspace.r (linspace): Check N >= 2.
  462.  
  463.     * rlib/logspace.r (logspace): Check N >= 2.
  464.  
  465.     * rlib/triu.r (triu): use .nr, and .nc. Also check k correctly.
  466.  
  467. Sat Aug 28 12:12:33 1993  Ian Searle  (ian@quixote)
  468.  
  469.     * rlib/tril.r (tril): Use .nr, and .nc. Also check k correctly.
  470.  
  471.     * math_3.c (IFFT): Scale the result by 1/N (like MATLAB).
  472.     (FFT): Remove the 1/N scaling (like MATLAB).
  473.     (FFT): Make fft() behave like MATLAB, with 2nd argument.
  474.     (IFFT): Make ifft() behave like MATLAB, with 2nd argument.
  475.  
  476.     * complex.c (complex_or): Make complex relational behave like
  477.     MATLAB. 
  478.  
  479.     * main.c (init_environment): Check environment for PAGER if
  480.     RLAB_PAGER is not specified.
  481.  
  482. Wed Aug 25 23:29:32 1993  Ian Searle  (ian@quixote)
  483.  
  484.     * rlab.y: Added f(,,3,,5) capability to function calls.
  485.  
  486. Tue Aug 24 22:41:42 1993  Ian Searle  (ian@quixote)
  487.  
  488.     * math_2.c (Sort): Make sort() handle scalar string.
  489.  
  490. Wed Aug 18 21:02:55 1993  Ian Searle  (ian@quixote)
  491.  
  492.     * matrix.c (matrix_AppendColC): Some cosmetic touch ups while
  493.     looking for a mem-clobber.
  494.  
  495. Tue Aug 17 21:04:19 1993  Ian Searle  (ian@quixote)
  496.  
  497.     * fi_1.c (matrix_QrPR): Create [P] as a k-by-n.
  498.     (matrix_QrPZ): Create [P] as a k-by-n.
  499.  
  500.     * matrix_op2.c (matrix_Rdivide): Make a / [] work.
  501.     (matrix_Ldivide): Make a \ [] work.
  502.  
  503.     * matrix_op1.c (matrix_Add): Make a + [] work.
  504.     (matrix_Sub): Make a - [] work.
  505.     (matrix_El_Div): Make a ./ [] work.
  506.     (matrix_El_Mul): Make a .* [] work.
  507.  
  508. Mon Aug 16 23:31:04 1993  Ian Searle  (ian@quixote)
  509.  
  510.     * fi_1.c (matrix_QrP): New function(s).
  511.  
  512. Sat Aug  7 08:30:44 1993  Ian Searle  (ian@quixote)
  513.  
  514.     * matrix_op2.c (matrix_ReadGeneric): Changed to MATLAB flat-file
  515.     format. 
  516.     (figure_it_out): New function.
  517.  
  518.     * op_matrix.c (matrix_vector_assign): Add code (move) to re-type
  519.     empty matrices.
  520.     (matrix_assign): Same.
  521.  
  522.     * matrix.c (matrix_AssignRow): Remove matrix rhs-lhs type
  523.     matching, this should be done in op_matrix.c.
  524.     (matrix_Assign): Same.
  525.     (matrix_AssignCol): Same.
  526.     (matrix_AssignVector): Same.
  527.  
  528. Wed Aug  4 19:36:20 1993  Ian Searle  (ian@quixote)
  529.  
  530.     * matrix.c (matrix_AssignCol): Change (1, 1) to (0, 0) is create
  531.     matrix calls.
  532.  
  533. Mon Aug  2 19:41:27 1993  Ian Searle  (ian@quixote)
  534.  
  535.     *  (./rlib): complement.r, intersection.r, set.r, union.r, New
  536.     function.s 
  537.  
  538.     * op_matrix.c (matrix_reshape_col): Make [:] work on scalar STRING
  539.     entities. 
  540.  
  541.     * util.c (convert_all_to_matrix_d): New function.
  542.  
  543. Sun Aug  1 22:50:30 1993  Ian Searle  (ian@quixote)
  544.  
  545.     * bltin.c (Find): Make find() handle scalar input.
  546.  
  547. Fri Jul 30 22:35:33 1993  Ian Searle  (ian@quixote)
  548.  
  549.     * op_matrix.c (matrix_assign): Same changes as made to
  550.     matrix_vector_assign(). 
  551.  
  552.     * matrix.c (matrix_AssignVector): Free old matrix string element
  553.     before assigning new value.
  554.     (matrix_Assign): Same as above.
  555.     (matrix_AssignCol): Same as above.
  556.     (matrix_AssignRow): Same as above.
  557.  
  558.     * op_matrix.c (matrix_vector_assign): Add code to treat strings
  559.     like scalar numerics.
  560.  
  561.     * op.c (ent_ent_el_pow): Add defaults to the switches to catch
  562.     non-numeric entities.
  563.  
  564. Thu Jul 29 18:23:53 1993  Ian Searle  (ian@quixote)
  565.  
  566.     * toolbox/lagrange.r: Added check for out-of-bounds.
  567.  
  568.     * matrix.c (matrix_AppendRowS): Copy the null string into the
  569.     empty matrix elements.
  570.  
  571. Wed Jul 28 23:33:15 1993  Ian Searle  (ian@quixote)
  572.  
  573.     * scalar_op1.c (scalar_Pow): Fix BOZO in 2nd comparison test.
  574.  
  575. Tue Jul 27 06:13:19 1993  Ian Searle  (ian@quixote)
  576.  
  577.     * main.c (run_program): Check ijmp so that we don't run out of
  578.     longjmps in the non-interactive case.
  579.  
  580. Sun Jul 25 20:03:21 1993  Ian Searle  (ian@quixote)
  581.  
  582.     * rfile.c (find_open): closedir before we call run_program in case
  583.     an error occurs.
  584.  
  585.     * rlab.y (ryyerror): Add longjmp call to ryyerror, also function
  586.     scope resetting.
  587.  
  588.     * main.c (run_program): Now when an error occurs, keep
  589.     longjmp()'ing up until we hit input == 0.
  590.  
  591.     * code.c (function_define): Made to small, but significant
  592.     changes.  `function_SetCodeSize (u_func, psize + 4);' the number 4
  593.     was a 5. And, `for (i = psave; i < psize + psave; i++)' the `<'
  594.     used to be a `<='. These changes were made simply because we were
  595.     using an extra piece of code when copying the function, which may
  596.     not be safe under some rare circumstances. This bug popped up when
  597.     I installed fvscope().
  598.  
  599. Sat Jul 24 09:17:10 1993  Ian Searle  (ian@quixote)
  600.  
  601.     * dissassem.c (diss_assemble): Fixed bug in OP_LIST_MEMB, and
  602.     OP_LIST_CREATE dissasembly.
  603.  
  604. Fri Jul 23 21:51:33 1993  Ian Searle  (ian@quixote)
  605.  
  606.     * bltin.c (FVScope): New function.
  607.  
  608. Wed Jul 21 20:05:45 1993  Ian Searle  (ian@quixote)
  609.  
  610.     * op_matrix.c (matrix_stack): Make [a;s] work, when a in
  611.     numeric-string. 
  612.  
  613.     * op_append.c (matrix_string_app): Make [a,s] work, where a is
  614.     numeric-empty. 
  615.  
  616. Tue Jul 20 08:22:34 1993  Ian Searle  (ian@quixote)
  617.  
  618.     * matrix.c (matrix_AssignVector): Add logic so that we can have
  619.     any RHS when assigning to an empty matrix.
  620.     (matrix_AssignRow): Same as previous change.
  621.     (matrix_AssignCol): Same as previous change.
  622.     (matrix_Assign): Same as previous change.
  623.  
  624.     * rlib/input.r: New function.
  625.  
  626.     * toolbox/mret.r: New function.
  627.  
  628. Sun Jul 18 09:03:16 1993  Ian Searle  (ian@quixote)
  629.  
  630.     * code.c (reset_stack_ptr): New function.
  631.  
  632.     * main.c (run_program): Call reset_stack_ptr after longjmp().
  633.  
  634.     * rlib/input.r (input): New function.
  635.  
  636.     * matrix.c (matrix_print_real): Modify matrix print format.
  637.  
  638.     * bltin.c (Clear): Improved error messages.
  639.  
  640. Sat Jul 17 08:08:31 1993  Ian Searle  (ian@quixote)
  641.  
  642.     * rlib/num2str.r (num2str): New function rfile.
  643.  
  644.     * code.c (find_lineno): Check for NULL ptr if we get an error, or
  645.     warning on the very 1st statement.
  646.  
  647. Wed Jul 14 20:31:18 1993  Ian Searle  (ian@quixote)
  648.  
  649.     * rlib/redit.r: Removed file existence test.
  650.  
  651. Tue Jul 13 20:40:01 1993  Ian Searle  (ian@quixote)
  652.  
  653.     * main.c (run_program): Add call to reset_frame_ptr to set fp back
  654.     after a longjmp.
  655.  
  656.     * code.c (reset_frame_ptr): New Function.
  657.  
  658. Mon Jul 12 18:49:33 1993  Ian Searle  (ian@quixote)
  659.  
  660.     * Release v0.91b.
  661.  
  662.     * Major changes to rlab.y, scan.l. to make the parser generate
  663.     codes, line at a time.
  664.  
  665. Wed Jul  7 22:02:33 1993  Ian Searle  (ian@quixote)
  666.  
  667.     * rlib/tmp_file.r: Use static variable to help insure uniqness.
  668.  
  669. Mon Jul  5 00:40:17 1993  Ian Searle  (ian@quixote)
  670.  
  671.     *  (./rlab): Release v0.90a.
  672.  
  673.     * bltin.c (Load): Added close_file_ds() call. This is overkill,
  674.     but what the heck (safety 1st).
  675.  
  676.     * util.c (btree_get_node_names_who): Don't print variable names
  677.     that begin with a "_".
  678.  
  679.     * rlab.y: Removed pure parser declaration.
  680.  
  681.     * scan.l: Went back to classical lex-yacc interaction (not a
  682.     pure-parser). 
  683.  
  684.     * dissassem.c (diss_assemble): Update for new op-codes.
  685.  
  686. Sun Jul  4 20:12:31 1993  Ian Searle  (ian@quixote)
  687.  
  688.     * code.c (execute): Add OP_RFILE, OP_RFILE_NAME codes.
  689.  
  690.     * Have made major changes to main.c, code.[ch], bltin.c to make
  691.     the parser/machine callable while executing code.
  692.  
  693. Thu Jul  1 21:31:02 1993  Ian Searle  (ian@quixote)
  694.  
  695.     * btree.c (btree_write_nodes): Check for BLTIN, and UFUNCTION.
  696.  
  697.     * rfile.c (rfile_load): Print out full file name in error message.
  698.  
  699.     * matrix.c (matrix_ExtractRowMatrix): Cast element references when
  700.     bounds checking, so that NaNs and Infs are properly handled.
  701.  
  702. Fri Jun 25 17:30:48 1993  Ian Searle  (ian@quixote)
  703.  
  704.     * test (S): Added sprintf() test.
  705.  
  706. Thu Jun 24 20:15:35 1993  Ian Searle  (ian@quixote)
  707.  
  708.     * print.c (do_printf): Fix up argument handling for formats with
  709.     width and/or precision specifiers.
  710.  
  711. Wed Jun 23 19:33:26 1993  Ian Searle  (ian@quixote)
  712.  
  713.     * scalar_op1.c (scalar_Pow): Use complex computation all the time.
  714.     (scalar_Pow): Always return 1 when s2 is 0.
  715.  
  716. Tue Jun 22 16:26:58 1993  Ian Searle  (ian@quixote)
  717.  
  718.     * config/*: Added HAVE_TIME_H define.
  719.  
  720.     * config/config.svr4:  Added HAVE_STDLIB_H define.
  721.  
  722.     * scan.l: Get rid of #elif pre-processor statements (not K&R
  723.     compatible). 
  724.  
  725.     * rlab.h:   Added HAVE_STDLIB_H block.
  726.  
  727.     * config/config.rs6000: Added HAVE_STDLIB_H define.
  728.  
  729.     * rfile.c:  Added HAVE_STDLIB_H block.
  730.  
  731.     * symbol.c: Added HAVE_STDLIB_H block.
  732.  
  733.     * matrix.c: Don't need stdlib.h include anymore.
  734.  
  735.     * config/config.hpux: Got access to an HP 9000/720, HP-UX 8.05.
  736.     This config files has now been tested.
  737.  
  738.     * fi_1.c (matrix_Svd_Complex): Added "A", "S" abililty.
  739.  
  740.     * math_2.c (Svd): Added "S", "A", 2nd arg to svd() list.
  741.  
  742.     * bltin.c (Zero): Cast matrix_Create args to (int).
  743.     (Ones): Cast matrix_Create args to (int).
  744.  
  745. Sat Jun 19 22:25:10 1993  Ian Searle  (ian@quixote)
  746.  
  747.     * init.c (rlab_bltin): Add _garbage function.
  748.  
  749.     * README.install: Update installation instructions for make
  750.     install. 
  751.  
  752.     * Makefile (mkdir): Remove `rm' command from Makefile.
  753.  
  754.     * rlib/whos.r (whos): Calculate nbytes correctly for complex
  755.     types. 
  756.  
  757.     * util.c (btree_get_node_names_what): Don't print builtin
  758.     functions that begin with a `_'.
  759.  
  760.     * scan.l: Allow variable names that begin with a `_'.
  761.  
  762. Mon Jun 14 19:48:17 1993  Ian Searle  (ian@quixote)
  763.  
  764.     * toolbox/pinv.r (pinv): Fixed bug in tol calc.
  765.  
  766. Mon Jun  7 19:13:25 1993  Ian Searle  (ian@quixote)
  767.  
  768.     * Makefile (COPYDIR): Copy doc directory and config.h file during
  769.     install. 
  770.  
  771.     * config/config.sun4: Add ifdef __GNUC__ to handle sys/ieeefp.h,
  772.     and float.h
  773.  
  774.     * matrix_op2.c (matrix_gt_zero): Fix error message.
  775.  
  776. Sun Jun  6 09:10:12 1993  Ian Searle  (ian@quixote)
  777.  
  778.     * rlib/diff.r (diff): Finished appr. comments.
  779.  
  780. Sat Jun  5 19:14:07 1993  Ian Searle  (ian@quixote)
  781.  
  782.     * matrix_op2.c (matrix_scalar_Pow1): Fix op for exp <= 0.
  783.  
  784.     * fi_2.c (matrix_Schur): New function.
  785.  
  786. Wed Jun  2 23:08:04 1993  Ian Searle  (ian@quixote)
  787.  
  788.     *  Release Version 0.83 beta.
  789.  
  790. Mon May 31 17:40:45 1993  Ian Searle  (ian@quixote)
  791.  
  792.     * code.c (forcode): Fix scalar execution of loop.
  793.     (forcode): Set limit properly when vec_expr is a scalar.
  794.  
  795. Sun May 30 09:22:34 1993  Ian Searle  (ian@quixote)
  796.  
  797.     * rlab.h: Added NUM type.
  798.  
  799.     * bltin.c (get_bltin_arg): Added NUM type
  800.  
  801.     * random.c (Rand): Use get_num_scalar_val more to reduce gc
  802.     inefficiency. 
  803.  
  804.     * Release v0.82
  805.  
  806. Sat May 29 22:55:06 1993  Ian Searle  (ian@quixote)
  807.  
  808.     * rlib/plot.r: Added showterm(), setterm(), phrd().
  809.  
  810.     * scan.l: Changed NUMBER regexps so that `a.e1' (list member ref)
  811.     won't ge confused with exponential form of NUMBER.
  812.  
  813. Wed May 26 17:52:16 1993  Ian Searle  (ian@quixote)
  814.  
  815.     * scan.l (rlab_yy_input): Signal() should be called with
  816.     intcatch_wait as arg.
  817.  
  818.     * btree.c (btree_copy_nodes): Add UNDEF case.
  819.  
  820. Mon May 24 20:23:49 1993  Ian Searle  (ian@quixote)
  821.  
  822.     * removed testmatrices directory.
  823.  
  824.     * ode*: Mods to user-output capabilities.
  825.  
  826. Sun May 23 13:50:21 1993  Ian Searle  (ian@quixote)
  827.  
  828.     * toolbox/FFT2.r: New file.
  829.  
  830.     * toolbox/FFT.r: New file.
  831.  
  832.     * toolbox/hankel: New rfile.
  833.  
  834.     * toolbox/ode78.r: Added Uoutput.
  835.  
  836.     * rlib/ode23.r: Added Uoutput.
  837.  
  838.     * op_matrix.c (matrix_reshape_col): Try and make more efficient if
  839.     input is already a column. 
  840.  
  841.     * matrix_op1.c (matrix_ne): Fix goof in REAL !+ COMPLEX, and
  842.     COMPLEX != REAL.
  843.  
  844. Wed May 19 18:19:00 1993  Ian Searle  (ian@quixote)
  845.  
  846.     * bltin.c, btree.c: Add UNDEF case to write() options. 
  847.  
  848. Sat May 15 12:25:25 1993  Ian Searle  (ian@quixote)
  849.  
  850.     * code.c (ret_from_func): Use btree_FindNodeR.
  851.  
  852.     * btree.[ch] (btree_FindNodeR): New function.
  853.  
  854.     * test: Added lqr test to test-suite.
  855.  
  856.     * Makefile: Added install for rlab.1 (man-page).
  857.  
  858.     * Makefile: Clean LIBDIR before installing files.
  859.  
  860.     * scan.l: Use strtod() more often (replace sscanf()).
  861.  
  862. Fri May 14 21:46:25 1993  Ian Searle  (ian@quixote)
  863.  
  864.     * toolbox/*.r, rlib/*.r: Any files that neede class() or type()
  865.     mods. 
  866.  
  867.     * code.c (list_member): Change type member results for
  868.     consistency. 
  869.  
  870.     * btree.[ch] (btree_GetRealNumNodes): New function.
  871.  
  872.     * bltin.c (Type): More consistemcy changes.
  873.  
  874.     * bltin.c (Class): More consistemcy changes.
  875.  
  876.     * bltin.c (Show): Working on consistency.
  877.  
  878.     * main.c (warning_?): Check for s being an arg tag, print null
  879.     string if so. 
  880.  
  881. Sun May  9 10:56:13 1993  Ian Searle  (ian@quixote)
  882.  
  883.     * examples/testmatrices/jordan.r: Removed "dummy" usage.
  884.  
  885.     * examples/testmatrices/krylov.r: Removed "dummy" usage.
  886.  
  887.     * examples/testmatrices/jordan.r: Removed "dummy" usage.
  888.  
  889.     * examples/testmatrices/cauchy.r: Removed "dummy" usage.
  890.  
  891.     * bltin.c (Ones, Zero): Onnly accept matrices with m*n == 2.
  892.  
  893.     * toolbox/rk4.r: Changes function names to match file name, fixed
  894.     bug in calling rrk4(), y-argument.
  895.  
  896.     * code.c (assign): Don't check for "-" when assigning anymore. Not
  897.     necessary cause there are always ENTITIES in function arg lists.
  898.  
  899.     * code.c (function_call): Don't label UNDEF args "dummy".
  900.  
  901.     * code.c (ret_from_func): Don't test args for key == 0 on clean. 
  902.  
  903.     * rlib/triu.r, tril.r: Remove "dummy" usage.
  904.  
  905.     * rlib/linspace.r: Remove "dummy" usage.
  906.  
  907.     * contrib/FFT.r, FFT2.r, hankel.r, toepltiz.r: Remove "dummy"
  908.     usage. 
  909.  
  910.     * code.c (print): Check for BLTIN.
  911.  
  912.     * rlib/whos: Add check for arg exist.
  913.  
  914.     * rlib/ode23: Remove "dummy" usage, add checks
  915.  
  916.     * rlib/plot.r: Check N in plot()
  917.  
  918.     * rlib/redit.r: Remove "dummy" usage.
  919.  
  920.     * rlib/redit.r: Remove "dummy" usage.
  921.  
  922.     * rlib/pause.r: Remove "dummy" usage.
  923.  
  924.     * rlib/eye.r: Remove "dummy" usage.
  925.  
  926.     * rlib/diff.r: Remove "dummy" usage.
  927.  
  928.     * toolboz/ode78.r: Remove "dummy" usage.
  929.  
  930.     * toolbox/lagrange.r: Remove "dummy" usage.
  931.  
  932.     * toolbox/chop.r: Remove "dummy" usage.
  933.  
  934.     * toolbox/bandred.r: Remove "dummy" usage.
  935.  
  936.     * code.c (function_call): Push UNDEF on for non-existent args.
  937.  
  938. Sat May  8 11:19:30 1993  Ian Searle  (ian@quixote)
  939.  
  940.     * rlib/lu.r: New file, replaces old lu() built-in
  941.  
  942.     * /help/backsub: New file
  943.  
  944.     * help/factor: New file
  945.  
  946.     * fi_1.[ch]: Removed matrix_LU().
  947.  
  948.     * fi_2.c (matrix_Backsub): Added error checking
  949.  
  950. Thu May  6 22:51:34 1993  Ian Searle  (ian@quixote)
  951.  
  952.     * fi_2.c (matrix_Factor): new function.
  953.  
  954.     * fi_2.c (matrix_Backsub): New function
  955.  
  956. Tue May  4 19:31:38 1993  Ian Searle  (ian@quixote)
  957.  
  958.     * toolbox/erf.r: Added erfcc(). Mods to inverf().
  959.  
  960.     * main.c (rpclose): New function.
  961.  
  962.     * code.c (print): Mods to use `use_pager' flag when printing
  963.     matrices. 
  964.  
  965. Mon May  3 21:37:21 1993  Ian Searle  (ian@quixote)
  966.  
  967.     * code.c (print): Add rule-of-thumb, to avoid using popen() so
  968.     much. 
  969.  
  970. Sun May  2 13:14:39 1993  Ian Searle  (ian@quixote)
  971.  
  972.     * code.c (ret_from_func): fix screw-up in local list clean.
  973.  
  974.     * rlib/plot.r: Re-written.
  975.  
  976.     * toolbox/gamma.r: Mods, uses static, updates to any(), all()
  977.     usage. Also fixed gamm[pq] arg blunder.
  978.  
  979. Sat May  1 16:53:17 1993  Ian Searle  (ian@quixote)
  980.  
  981.     * print.c (FPrintf): Check fp for NULL.
  982.  
  983. Fri Apr 30 23:27:11 1993  Ian Searle  (ian@quixote)
  984.  
  985.     * print.c (do_printf): Add check for strv == 0.
  986.  
  987. Thu Apr 29 18:16:10 1993  Ian Searle  (ian@quixote)
  988.  
  989.     * code.c (ret_from_func): Test rd.u.ent for NULL name ptr.
  990.  
  991. Wed Apr 28 19:04:21 1993  Ian Searle  (ian@quixote)
  992.  
  993.     * op_matrix.c (matrix_vec_assign): Mods to handle scalars at top. 
  994.  
  995.     * code.c (ret_from_fun): Handle local lists now.
  996.  
  997.     * op_matrix.c (matrix_assign): Mods to handle scalars at top.
  998.  
  999. Tue Apr 27 21:25:59 1993  Ian Searle  (ian@quixote)
  1000.  
  1001.     * rlib/ode23.r: More efficient, use a LIST inside ode23(), then
  1002.     use collapse() to return a matrix.
  1003.  
  1004.     * bltin.c (Diag): New function.
  1005.  
  1006.     * bltin.c (Ones): New function.
  1007.  
  1008. Sun Apr 25 11:17:09 1993  Ian Searle  (ian@quixote)
  1009.  
  1010.     * code.c (ret_from_func): Do not clean BTREE objects from local
  1011.     variable list.
  1012.  
  1013.     * matrix_op1.c (matrix_eq and related functions): Add ability to
  1014.     do strinf-matrix ops when one matrix is a 1-by-1.
  1015.  
  1016.     * relation.c: All functions. Use switch, additions for
  1017.     matrix-string rel-ops.
  1018.  
  1019.     * matrix_op2.c: New functions... matrix_string_??().
  1020.  
  1021.     * code.c (execute): in OP_POP_CLEAN, add test for non-null entity
  1022.     type. 
  1023.  
  1024.     * matrix_op1.c (matrix_Multiply??): Add check for either A or B
  1025.     being an empty matrix, return an empty matrix.
  1026.  
  1027.     * util.c (convert_all_to_matrix): Changed d to new in
  1028.     string-matrix convert.
  1029.  
  1030. Sat Apr 24 11:22:56 1993  Ian Searle  (ian@quixote)
  1031.  
  1032.     * btree.c (btree_Print): Print <<>> for empty-list, even when list
  1033.     has UNDEFs.
  1034.  
  1035.     * bltin.c (Exist): New function
  1036.  
  1037.     * rlib/plot.r: Make pinfo static.
  1038.  
  1039. Fri Apr 23 23:38:39 1993  Ian Searle  (ian@quixote)
  1040.  
  1041.     * rlab.y, scan.l, main.c: Started addition of fstatic()
  1042.     declaration. 
  1043.  
  1044. Wed Apr 21 19:29:08 1993  Ian Searle  (ian@quixote)
  1045.  
  1046.     * code.c (find_file_name): Go straight to file name since we know
  1047.     exactly where it is.
  1048.  
  1049. Tue Apr 20 16:47:34 1993  Ian Searle  (ian@quixote)
  1050.  
  1051.     * code.c (forcode): This is really where yesterday's list-bug was
  1052.     lurking. The problem was not installing tmp for-vectors on the
  1053.     tmp-list. 
  1054.  
  1055. Mon Apr 19 19:38:39 1993  Ian Searle  (ian@quixote)
  1056.  
  1057.     * r_string.c (string_Read): Use fscanf() instead of getc() to get
  1058.     the last \n. This seems to work ?.
  1059.  
  1060.     * list.c (list_DetachNodeByAddr): Added check for n == 0. This may
  1061.     happen in some rare cases when the list is really clean.
  1062.  
  1063.     * code.c (ifcode, whilecode): Handle empty matrices as if(),
  1064.     while() args (eval to 0).
  1065.  
  1066.     * bltin.c (Read): Try and print out type if failure.
  1067.  
  1068.     * rlib/sign.r: Removed scalar option.
  1069.  
  1070.     * rlib/fix.r: New file
  1071.  
  1072.     * config/config.linux: Updated file from F.F.Yap.
  1073.  
  1074. Sun Apr 18 12:16:05 1993  Ian Searle  (ian@quixote)
  1075.  
  1076.     * Release version 0.75 beta
  1077.  
  1078.     * rlib/ode23.r: Mods to make ode23() operate on column solutions,
  1079.     and independent of y0 orientation.
  1080.  
  1081.     * toolbox/ode78.r: New function (from netlib).
  1082.  
  1083. Sat Apr 17 09:27:52 1993  Ian Searle  (ian@quixote)
  1084.  
  1085.     * toolbox/poly.r: Updated all() usage.
  1086.  
  1087.     * rlab.y: Moved function assign production to statement level so
  1088.     that trailing newline, or semicolon can be left out.
  1089.  
  1090.     * test: Incorporated getline() tests into test.
  1091.  
  1092. Thu Apr 15 19:46:57 1993  Ian Searle  (ian@quixote)
  1093.  
  1094.     * getline.c: Overhauled getline_scanner(), collect_decinal(), and
  1095.     collect_string() so that getline() will handle EOF.
  1096.  
  1097. Wed Apr 14 20:35:08 1993  Ian Searle  (ian@quixote)
  1098.  
  1099.     * test: Added a few more simple function tests.
  1100.  
  1101. Mon Apr 12 18:58:01 1993  Ian Searle  (ian@quixote)
  1102.  
  1103.     * util.c (convert_to_matrix): Removed call to remove_tmp_detroy(),
  1104.     to fix chol(1+1i) core dump.
  1105.  
  1106. Sun Apr 11 10:21:28 1993  Ian Searle  (ian@quixote)
  1107.  
  1108.     * rlib/cum[sum|prod].r: Re-write per Brad's suggestion (more
  1109.     efficient). 
  1110.  
  1111.     * init.c: Ordered bltin table for faster lookup.
  1112.  
  1113.     * util.[ch] (convert_all_to_matrix): New function.
  1114.  
  1115.     * op_matrix.c (matrix_vector_sub): Allow s[1] to work for a scalar
  1116.     string. 
  1117.  
  1118.     * bltin.c (Size, Length): Change the way we report on strings.
  1119.  
  1120.     * code.c (list_member): Add n, nr, nc as string attributes.
  1121.  
  1122. Sat Apr 10 10:46:00 1993  Ian Searle  (ian@quixote)
  1123.  
  1124.     * config.*: Fixed up obsolete comments around #include <float.h>
  1125.  
  1126.     * fi_1.c (matrix_inverse_?): Add call to matrix_Rcond() to check
  1127.     for ill-conditioned input.
  1128.  
  1129. Sun Apr  4 15:02:21 1993  Ian Searle  (ian@quixote)
  1130.  
  1131.     * fi_1.c (matrix_is_symmetric): Removed.
  1132.  
  1133. Sat Apr  3 00:05:57 1993  Ian Searle  (ian@quixote)
  1134.  
  1135.     * r_string.c (string_Read): Handle zero length string, and newline
  1136.     correctly. 
  1137.  
  1138.     * code.c (assign): Fix bungle in assign symbol table.
  1139.  
  1140.     * Copied bandred from testmatrices to toolbox.
  1141.  
  1142.     * Added contrib directory.
  1143.  
  1144.     * print.c (Close): Change test from `== 0' to `!= 1'.
  1145.  
  1146.     * test: Added tests for some of the more basic builtin functions
  1147.     (abs, max, sum, floor,...).
  1148.  
  1149.     * matrix_op1.c (matrix_Abs): Add #define rabs...
  1150.  
  1151.     * util.c (get_num_scalar_val): Put break where appropriate.
  1152.  
  1153. Fri Apr  2 20:50:05 1993  Ian Searle  (ian@quixote)
  1154.  
  1155.     * Many changes to get **return_ptr correct.
  1156.  
  1157.     * many small changes to get gcc -Wall  to shut up.
  1158.  
  1159.     * rfile.c (print_rfiles): Add extra space, and fflush() to force
  1160.     popen'ed ptr to behave correctly.
  1161.  
  1162.     * fi_1.c, matrix.c: Put #define rabs in.
  1163.  
  1164.     * util.c (btree_get_node_names): return a row matrix.
  1165.  
  1166.     * rlab.y, scan.l, symbol.[ch], util.c: Added $$ as globla symbol
  1167.     table constant.
  1168.  
  1169. Thu Apr  1 18:44:55 1993  Ian Searle  (ian@quixote)
  1170.  
  1171.     * Changed many error_1 messages, `wrong #' to Wrong number'.
  1172.  
  1173.     * main.c (warning_?): Fixed fprintf FILE ptr arg.
  1174.  
  1175. Wed Mar 31 19:24:13 1993  Ian Searle  (ian@quixote)
  1176.  
  1177.     * bltin.c (Length): Make compatible (partly) with Matlab.
  1178.  
  1179.     * alloca.c: Add #ifndef __GNUC__ to elminate supplied alloca if
  1180.     gcc is being used.
  1181.  
  1182.     * config/config.NeXT: Uncomment HAVE_PROTOTYPES, remove
  1183.     declarations at end of file.
  1184.  
  1185. Tue Mar 30 23:26:35 1993  Ian Searle  (ian@quixote)
  1186.  
  1187.     * code.c (list_el_create): Allow U_FUNCTION as valid type in
  1188.     switch. 
  1189.  
  1190. Sun Mar 28 11:24:02 1993  Ian Searle  (ian@quixote)
  1191.  
  1192.     * matrix_op1.c (matrix_El_Div): use matrix_screen_string().
  1193.  
  1194.     * bltin.c (CD): New function.
  1195.  
  1196.     * op_matrix.c (matrix_create): fix [2i], initialize real part.
  1197.  
  1198.     * toolbox/redit.r: New rfile.
  1199.  
  1200.     * scan.l: Take lineno++ out of # comment rule.
  1201.  
  1202. Sat Mar 27 09:27:01 1993  Ian Searle  (ian@quixote)
  1203.  
  1204.     * Now release v0.70.
  1205.  
  1206.     * op_matrix.c (matrix_stack): Fix type checking error in [1+2i;2]
  1207.     operation. 
  1208.  
  1209. Fri Mar 26 23:00:34 1993  Ian Searle  (ian@quixote)
  1210.  
  1211.     * Version 0.70 beta released.
  1212.  
  1213.     * scan.l: Added `#' as a commnet, now we can `#!/bin/rlab' our
  1214.     scripts. 
  1215.  
  1216. Wed Mar 24 00:02:06 1993  Ian Searle  (ian@quixote)
  1217.  
  1218.     * code.c (list_member): Make attribute look-up more consistent. 
  1219.  
  1220.     * bltin.c (Length): New function.
  1221.  
  1222.     * math_2.c (Sort): Make sort() a vector function.
  1223.  
  1224. Tue Mar 23 21:02:01 1993  Ian Searle  (ian@quixote)
  1225.  
  1226.     * matrix_op1.c (matrix_Any, matrix_All): Change to vector
  1227.     functions. 
  1228.  
  1229.     * util.c (get_datum_value): Fixed bug in extracting from 1-by-1.
  1230.  
  1231.     * matrix_op1.c: Most of the matrix relational functions. Added
  1232.     ability to recognize 1-by-1 matrices, and perform correct check.
  1233.  
  1234. Mon Mar 22 10:55:43 1993  Ian Searle  (ian@quixote)
  1235.  
  1236.     * rlab.y: Added production to opt_arg_list:
  1237.  
  1238.           | ',' error              { $$.count = 0; $$.off = 0; }
  1239.  
  1240.           The purpose of this rule is to prevent `sqrt ( , 2 )' from being
  1241.       a valid expression.
  1242.  
  1243. Sun Mar 21 23:02:59 1993  Ian Searle  (ian@quixote)
  1244.  
  1245.     * matrix_op2.c (matrix_Rdivide): Special case 1x1.
  1246.  
  1247. Sat Mar 20 14:36:19 1993  Ian Searle  (ian@quixote)
  1248.  
  1249.     * scan.l, rlab.y, code.[ch], dissasem.c, matrix_op1.[ch]: Added
  1250.     non-conjugate matrix transpose (.')
  1251.  
  1252.     * op.c (ent_ent_el_ldivide): Fixed typo in argument order.
  1253.  
  1254.     * op.c (rdivide, ldivide): Force all entities to be matrices, let
  1255.     low-level function determine appropriatness of dimensions.
  1256.  
  1257. Wed Mar 17 19:28:13 1993  Ian Searle  (ian@quixote)
  1258.  
  1259.     * btree.c (btree_Print): Change empty list printf().
  1260.  
  1261. Tue Mar 16 00:18:05 1993  Ian Searle  (ian@quixote)
  1262.  
  1263.     * matrix_op1.c (matrix_scalar_div2): Fix so 2./(1:3) works.
  1264.  
  1265.     * matrix_op1.c: Changes to handle [A] binop [3] conditions.
  1266.  
  1267. Mon Mar 15 20:56:18 1993  Ian Searle  (ian@quixote)
  1268.  
  1269.     * util.c (get_datum_value): Fix it so the function returns the
  1270.     value from a 1x1 matrix.
  1271.  
  1272.     * matrix_op2.[ch] (max, min): Modified max(), min() functions to
  1273.     behave more like MATLAB counterparts.
  1274.  
  1275.     * bltin.c (Reshape): mods to get rid of convert_to_scalar calls.
  1276.  
  1277.     * bltin.c (Scalar_cast, Matrix_cast): modified logix to get rid of
  1278.     convert_to_scalar().
  1279.  
  1280.     * print.c (SPrintf): Make sprintf() create the 1st argument if it
  1281.     is UNDEFINED.
  1282.  
  1283.     * math_1.c: Added
  1284.  
  1285.       if (targ.u.ent != arg.u.ent)
  1286.         remove_tmp_destroy (targ.u.ent);
  1287.       return;
  1288.  
  1289.       To all clean up temporary Datums when using convert_to_scalar.
  1290.  
  1291.  
  1292. Sun Mar 14 10:10:04 1993  Ian Searle  (ian@quixote)
  1293.  
  1294.     * scalar_op1.[ch], matrix_op1.[ch], complex.[ch], trig.c: add
  1295.     complex arc-trig functions.
  1296.  
  1297.     * scalar_op1.[ch], complex.[ch], trig.c, matrix_op1.[ch]: Add
  1298.     complex tangent.
  1299.  
  1300.     * rlab.y, code.[ch], dissamsem.c: Add `[:]' operation.
  1301.  
  1302. Sat Mar 13 12:34:46 1993  Ian Searle  (ian@quixote)
  1303.  
  1304.     * math_3.c (FFT): Add matrix fft capability.
  1305.  
  1306. Fri Mar 12 19:05:19 1993  Ian Searle  (ian@quixote)
  1307.  
  1308.     * op_matrix.c (matrix_transpose): Fix scalar complex transpose.
  1309.  
  1310.     * code.c (forcode): Add complex loop capability.
  1311.  
  1312.     * math_2.c (Chol, Det): Make them accept scalars as arguments.
  1313.  
  1314.     * math_2.c (Balance, Rcond): Make them accept scalars as arguments.
  1315.  
  1316.     * matrix.c (matrix_Print*): Add format for empty matrices.
  1317.  
  1318. Thu Mar 11 20:46:11 1993  Ian Searle  (ian@quixote)
  1319.  
  1320.     * math_1.c (Lu): Mods to handle scalar args.
  1321.  
  1322.     * eye.r: Mods to deal with new zeros().
  1323.  
  1324.     * bltin.c (Zero): Mods to allow it too handle combinations of
  1325.     matrices, and scalars.
  1326.  
  1327.     * rlab.y (yyparse): Small twiddle to newline production.
  1328.  
  1329. Tue Mar  9 19:49:06 1993  Ian Searle  (ian@quixote)
  1330.  
  1331.     * code.[ch], rlab.y, dissasem.c: Add OP_EMPTY_MATRIX_CREATE.
  1332.  
  1333.     * matrix.c (extraction functions): Small changes to extraction
  1334.     functions to handle NULL index matrices.
  1335.  
  1336.     * matrix_op2.c (matrix_Find): Fix logic around realloc() to avoid
  1337.     calling realloc with a zero argument.
  1338.  
  1339. Mon Mar  8 19:52:17 1993  Ian Searle  (ian@quixote)
  1340.  
  1341.     * op_matrix.c (matrix_sub): Make double indexing error checking
  1342.     behave like single indexing error-checking.
  1343.  
  1344.     * code.c (function_call): Convert CONSTANT args to scalars. 
  1345.  
  1346.     * matrix_op2.c (matrix_Find): Check for empty matrix when
  1347.     realloc'ing. 
  1348.  
  1349.     * matrix_op2.c (Prod): Fix complex products.
  1350.  
  1351. Sat Mar  6 11:31:50 1993  Ian Searle  (ian@quixote)
  1352.  
  1353.     * matrix.c (matrix_Write): Increased number of significant digits
  1354.     for output.
  1355.  
  1356.     * fi_[12].c: Remove the dependencies on f2c.h.
  1357.  
  1358. Fri Mar  5 17:16:41 1993  Ian Searle  (ian@quixote)
  1359.  
  1360.     * bltin.c (Show): Check for NULL names.
  1361.  
  1362. Sun Feb 28 10:25:53 1993  Ian Searle  (ian@quixote)
  1363.  
  1364.     * code.c (list_member): Made SCALAR attributes cosistent with
  1365.     MATRIX attributes.
  1366.  
  1367.     * matrix_op2.c (matrix_scalar_Pow): New function.
  1368.  
  1369.     * version.h: Changed version string. I am makeing the switch to
  1370.     BETA status.
  1371.  
  1372.     * matrix_op2.c (matrix_Max/matrix_Min): Small changes to
  1373.     algorithms. 
  1374.  
  1375. Thu Feb 25 20:26:41 1993  Ian Searle  (ian@quixote)
  1376.  
  1377.     * matrix.[ch]: matrix_ExtractElement, matrix_ExtractColumn,
  1378.     matrix_ExtractRow: new functions.
  1379.  
  1380.     * op_matrix.c (matrix_sub): Modify function loginc to improve
  1381.     speed. 
  1382.  
  1383. Tue Feb 23 21:11:34 1993  Ian Searle  (ian@quixote)
  1384.  
  1385.     * Incorporated config.NeXT, and NeXT patches.
  1386.  
  1387. Mon Feb 22 20:10:56 1993  Ian Searle  (ian@quixote)
  1388.  
  1389.     * math_2.c (Sort): Finished adding sort() features, complex,
  1390.     scalars, etc...
  1391.  
  1392. Sun Feb 21 15:46:49 1993  Ian Searle  (ian@quixote)
  1393.  
  1394.     * main.c, code.c, rlab.h, fi_[12].c: Changed way we catch SIGINT.
  1395.  
  1396.     * math_3.c, matrix_op2.[ch]: Added builtin versions of sum(),
  1397.     prod().
  1398.  
  1399. Tue Feb 16 21:21:59 1993  Ian Searle  (ian@quixote)
  1400.  
  1401.     * scalar.c (scalar_Create): Mods for small speedup.
  1402.  
  1403.     * list_node.[ch] (listNode_IsNodeAttached): Replace function with
  1404.     a macro in an attempt to speed things up.
  1405.  
  1406. Mon Feb 15 20:55:30 1993  Ian Searle  (ian@quixote)
  1407.  
  1408.     * test: Added matrix multiply tests.
  1409.  
  1410.     * matrix_op1.c (matrix_Mul??): Mods to handle A or B 1x1.
  1411.  
  1412.     * mm.c (ccmpy): Modified for a little more speed (courtesy Fook
  1413.     Fah). 
  1414.  
  1415. Sat Feb 13 21:00:48 1993  Ian Searle  (ian@quixote)
  1416.  
  1417.     * mm.c: New file.
  1418.  
  1419.     * matrix_op1.c (matrix_Mul??): Use contributed C matrix multiply
  1420.     code (faster).
  1421.  
  1422. Fri Feb 12 23:26:11 1993  Ian Searle  (ian@quixote)
  1423.  
  1424.     * code.c (list_member): Add member refs for CONSTANTs.
  1425.  
  1426.     * code.c (list_member): Add `.n' as scalar member.
  1427.  
  1428. Tue Feb  9 17:56:25 1993  Ian Searle  (ian@quixote)
  1429.  
  1430.     * math_2.c (MaxI/MinI): maxi()/mini() now return a scalar index
  1431.     value. 
  1432.  
  1433. Mon Feb  8 18:34:55 1993  Ian Searle  (ian@quixote)
  1434.  
  1435.     * code.c (forcode): Yet another change. Now for() will handle
  1436.     CONSTANTs were there should be vectors, without barfing.
  1437.  
  1438.     * math_2.c (Sort): sort() now returns a list of the sorted vector,
  1439.     and the sorted indices.
  1440.  
  1441.     * code.c (list_create): Remove erroneous call to
  1442.     convert_to_scalar().
  1443.  
  1444.     * matrix.c (matrix_assign_vector): Add calls to matrix_Extend() to
  1445.     handle empty matrix RHS.
  1446.  
  1447.     * code.c (forcode): Now for-loops will handle user changing loop
  1448.     vector in the middle of loop execution.
  1449.  
  1450. Sun Feb  7 22:32:58 1993  Ian Searle  (ian@quixote)
  1451.  
  1452.     * math_1.c (Inv): Allow scalars as well as matrices.
  1453.  
  1454.     * code.c (forcode): Fixed STUPID bug in loop-vector destroy logic
  1455.     (there was none).
  1456.  
  1457. Sat Feb  6 11:07:32 1993  Ian Searle  (ian@quixote)
  1458.  
  1459.     * matrix_op2.c (matrix_[LR]divide): Add test to use solve_eq()
  1460.     when A is square.
  1461.  
  1462.     * matrix.c (matrix_CreateFill): Add empty vector creation
  1463.     capability. 
  1464.  
  1465.     * code.c (forcode): Add no-execute capability/test.
  1466.  
  1467. Fri Feb  5 19:03:45 1993  Ian Searle  (ian@quixote)
  1468.  
  1469.     * rlab.y, scan.l: Made rfile, and help commands more versatile.
  1470.  
  1471.     * math_2.c (MinI): Fix subscripts on m.
  1472.  
  1473.     * matrix_op2.c (matrix_Max): Fixed complex max(). maxc.r = 0.0,
  1474.     NOT maxc.r = -DBL_MAX. Same for matrix_Min().
  1475.  
  1476. Tue Feb  2 21:41:37 1993  Ian Searle  (ian@quixote)
  1477.  
  1478.     * matrix.c (matrix_CreateFill): Change d = ... use abs(d3).
  1479.  
  1480. Mon Feb  1 23:21:31 1993  Ian Searle  (ian@quixote)
  1481.  
  1482.     * matrix_op2.c (matrix_Mod): Added complex matrices.
  1483.  
  1484.     * math_1.c (Mod): Better type checking. Handles complex args now.
  1485.  
  1486.     * complex.[ch] (complex_Mod): new function.
  1487.  
  1488. Sun Jan 31 13:20:11 1993  Ian Searle  (ian@quixote)
  1489.  
  1490.     * matrix_op2.c (matrix_Mod): Add some error/type checking.
  1491.  
  1492. Fri Jan 29 23:48:42 1993  Ian Searle  (ian@quixote)
  1493.  
  1494.     * Makefile: Still trying to make friendlier.
  1495.  
  1496. Thu Jan 28 17:31:22 1993  Ian Searle  (ian@quixote)
  1497.  
  1498.     * matrix_op2.[ch] (matrix_Mod): New function.
  1499.  
  1500.     * matrix.c (matrix_print_complex): Fix sign in sprintf().
  1501.  
  1502.     * code.c (assign): Change "-1" to "-" for strncmp.
  1503.  
  1504. Wed Jan 27 22:27:02 1993  Ian Searle  (ian@quixote)
  1505.  
  1506.     * bltin.c (Size): try returning size = 1x1 for SCALAR.
  1507.  
  1508. Tue Jan 26 20:03:52 1993  Ian Searle  (ian@quixote)
  1509.  
  1510.     * main.c, rlab.y: Mods to error printing. Leave filename, line
  1511.     number off when reading from stdin.
  1512.  
  1513. Mon Jan 25 22:40:06 1993  Ian Searle  (ian@quixote)
  1514.  
  1515.     * version.h: New file.
  1516.  
  1517.     * bltin.c, matrix_op2.[ch]: Moved matrix_Find() to matrix_op2.c.
  1518.  
  1519.     * getline.c, print.c, scan.h: Moved scancode[][ into getline.c
  1520.  
  1521. Fri Jan 22 00:10:52 1993  Ian Searle  (ian@quixote)
  1522.  
  1523.     * rlab.y: Starting on if statement syntax rework.
  1524.  
  1525.     * bltin.c (Find): New function.
  1526.  
  1527.     * main.c (warning_?): Check (s == 0).
  1528.  
  1529. Sun Jan 17 12:37:11 1993  Ian Searle  (ian@quixote)
  1530.  
  1531.     * bltin.c (All): Make scalar args allowable.
  1532.  
  1533.     * bltin.c (Any): Make scalar args allowable.
  1534.  
  1535.     * scan.l (new_file): Made minor change so tha ctrl-d (EOF) now
  1536.     stops execution.
  1537.  
  1538. Fri Jan 15 19:55:57 1993  Ian Searle  (ian@quixote)
  1539.  
  1540.     * dissasem.c: Changed output formats.
  1541.  
  1542.     * main.c, rlab.y: Add line_nos.
  1543.  
  1544. Thu Jan 14 18:19:26 1993  Ian Searle  (ian@quixote)
  1545.  
  1546.     * code.c (function_default_ret): A few more touches on argument
  1547.     cleaning. 
  1548.  
  1549. Wed Jan 13 19:27:36 1993  Ian Searle  (ian@quixote)
  1550.  
  1551.     * code.c (ret_from_func): Finally got garbage-collection for
  1552.     function args right (I hope :-).
  1553.  
  1554. Sun Jan 10 15:14:12 1993  Ian Searle  (ian@quixote)
  1555.  
  1556.     * code.c (list_member): Add "type" to string elements.
  1557.  
  1558. Fri Jan  8 22:09:53 1993  Ian Searle  (ian@quixote)
  1559.  
  1560.     * scan.l (new_file): Twiddle with lineno to get it right AFTER a
  1561.     load(), or rfile command.
  1562.  
  1563. Wed Jan  6 21:59:50 1993  Ian Searle  (ian@quixote)
  1564.  
  1565.     * code.c, rlab.y (list_assign): Fix it so that `a.[i] = a'. Caused
  1566.     a chang in generated op-codes in rlab.y.
  1567.  
  1568. Tue Jan  5 22:50:47 1993  Ian Searle  (ian@quixote)
  1569.  
  1570.     * random.c (Rand): Fixed rand(m,n).
  1571.  
  1572. Sat Jan  2 18:23:59 1993  Ian Searle  (ian@quixote)
  1573.  
  1574.     * rlab.y: mods to STRING ptr handling.
  1575.  
  1576.     * main.c: Add ip option. Use cat(1) as pager if -p is specified. 
  1577.  
  1578. Fri Jan  1 11:49:53 1993  Ian Searle  (ian@quixote)
  1579.  
  1580.     * getline.c (getline_scanner): Added quoted string scanning
  1581.     capability. 
  1582.  
  1583.     * print.c (get_file_ds): Use mode argument in popen() call.
  1584.  
  1585. Thu Dec 31 16:20:11 1992  Ian Searle  (ian@quixote)
  1586.  
  1587.     * getline.c: New File
  1588.  
  1589.     * scan.h: New File
  1590.  
  1591. Wed Dec 30 14:42:06 1992  Ian Searle  (ian@quixote)
  1592.  
  1593.     * matrix_op2.[ch]: Changed matrix_ReadColumn() to
  1594.     matrix_ReadGeneric(), added matrix_WriteGeneric().
  1595.  
  1596.     * bltin.c: Changed ReadV() to ReadM(). Added WriteM().
  1597.  
  1598. Tue Dec 29 09:30:53 1992  Ian Searle  (ian@quixote)
  1599.  
  1600.     * rfile.c: set pfile = 0 after successful pclose().
  1601.  
  1602.     * code.c (print): Set pfile = 0 after succesful pclose().
  1603.  
  1604. Wed Dec 23 16:56:11 1992  Ian Searle  (ian@quixote)
  1605.  
  1606.     * print.c (rfile_Destroy): Fixed braces on outside if.
  1607.  
  1608. Sat Dec 19 21:00:28 1992  Ian Searle  (ian@quixote)
  1609.  
  1610.     * print.c (do_printf): Changed error messages, and added another
  1611.     argcnt check.
  1612.  
  1613. Sun Dec 13 14:09:37 1992  Ian Searle  (ian@quixote)
  1614.  
  1615.     * matrix.c (matrix_Read): Fix complex read indexing
  1616.     (NWRITE+start-1). 
  1617.  
  1618.     * matrix.c (matrix_write_real): Fix `columns X through Y' output. 
  1619.  
  1620.     * math_2.c (Eig): Add calls to matrix_SetName().
  1621.  
  1622.     * lots!: Changed copy_string_ptr() to cpstr().
  1623.  
  1624. Thu Dec 10 19:23:42 1992  Ian Searle  (ian@quixote)
  1625.  
  1626.     * code.c (print): Print to stdout if popen() fails.
  1627.  
  1628.     * bltin.c (Read): close file after reading
  1629.  
  1630.     * matrix.c (matrix_Read): Fixe for-test while scanf'ing.
  1631.  
  1632. Sun Dec  6 13:00:50 1992  Ian Searle  (ian@quixote)
  1633.  
  1634.     * main.c (pipecatch): New function.
  1635.  
  1636.     * rfile.c: Make FILE *pfile static so we can pclose() if SIGPIPE
  1637.     occured. 
  1638.  
  1639.     * code.c (print): Use popen() for matrix output.
  1640.  
  1641.     * main.c (run): Catch SIGPIPE.
  1642.  
  1643. Fri Dec  4 17:27:08 1992  Ian Searle  (ian@quixote)
  1644.  
  1645.     * rfile.c (print_rfiles): Test for nfile == 0.
  1646.  
  1647. Thu Dec  3 19:57:50 1992  Ian Searle  (ian@quixote)
  1648.  
  1649.     * main.c (main): Add -l option.
  1650.  
  1651.     * main.c: Remove RLAB_LS_CMD.
  1652.  
  1653. Wed Dec  2 18:19:27 1992  Ian Searle  (ian@quixote)
  1654.  
  1655.     * Put power-op higher in precedence than unary-minus
  1656.  
  1657. Mon Nov 30 20:11:14 1992  Ian Searle  (ian@quixote)
  1658.  
  1659.     * math_2.c (Sort): Added string sort.
  1660.  
  1661.     * rfile.c: Finish up, still crude, but functionality is there.
  1662.  
  1663. Sun Nov 29 22:08:09 1992  Ian Searle  (ian@quixote)
  1664.  
  1665.     * rfiile.c (help): Moved help functionality to rfile.c
  1666.  
  1667. Sat Nov 28 21:10:43 1992  Ian Searle  (ian@quixote)
  1668.  
  1669.     * rlab.y: Move HELP, and RFILE productions up to program:
  1670.  
  1671.     * rfile.c: New file.
  1672.  
  1673. Mon Nov 23 23:16:39 1992  Ian Searle  (ian@quixote)
  1674.  
  1675.     * rlab.y: Clean-ups, comments.
  1676.  
  1677. Sun Nov 22 10:26:00 1992  Ian Searle  (ian@quixote)
  1678.  
  1679.     * Released v0.30.
  1680.  
  1681.     * Fixed goof in rlab.y ( parens around vec_expr ).
  1682.  
  1683.     * mathl.c: New file
  1684.  
  1685.     * rlab.y: Added '(' vec_expr ')' to vec_expr: rule.
  1686.  
  1687.     * mem.c (xmalloc, xrealloc): New functions. Now (hopefully) people
  1688.     can use most any compiler, and the provided alloca.c, and not get
  1689.     unresolved externals.
  1690.  
  1691.     * matrix.c (matrix_print_real): Use sprintf() now.
  1692.  
  1693.     * math_1.c (Round) New function, uses math library rint().
  1694.  
  1695. Sat Nov 21 22:13:34 1992  Ian Searle  (ian@quixote)
  1696.  
  1697.     * bltin.c (tic, toc): New functions.
  1698.  
  1699.     * scan.l, rlab.y: Trying to get error handling right so that the
  1700.     extra newline isn't needed.
  1701.  
  1702. Fri Nov 20 19:21:05 1992  Ian Searle  (ian@quixote)
  1703.  
  1704.     * fi_1.c (matrix_Norm): Fix 2-norm mistake.
  1705.  
  1706.     * bltin.c (Inf): New function.
  1707.  
  1708. Thu Nov 19 20:11:32 1992  Ian Searle  (ian@quixote)
  1709.  
  1710.     * scan.l (new_file): Fixed lineno bug, wasn't setting correct
  1711.     value in lnstack[].
  1712.  
  1713.     * config.h: Added choices for CONST, and BIG_ENDIAN,
  1714.     LITTLE_ENDIAN. 
  1715.  
  1716.     * bltin.c (Nan): New function.
  1717.  
  1718. Wed Nov 18 20:51:26 1992  Ian Searle  (ian@quixote)
  1719.  
  1720.     * config.h: Added option to use errno checking, or matherr().
  1721.  
  1722.     * bltin.c (matherr): New function.
  1723.  
  1724. Mon Nov 16 19:11:54 1992  Ian Searle  (ian@quixote)
  1725.  
  1726.     * bltin.c, main.c, scalar.c, matrix.c: Changed format() operation.
  1727.     Now format() works on REAL and COMPLEX.
  1728.  
  1729.     * main.c (init_misc): popen() FILE *paged_output, for paged matrix
  1730.     output. 
  1731.  
  1732.     * main.c: Removed inc_jmp_buff... and dec_jmp.... Replaced with
  1733.     jmp1, jmp2. Two simple variables should do the job.
  1734.  
  1735.     * scan.l (new_file): bptr = 0, if arg = 0.
  1736.  
  1737. Sun Nov 15 12:08:42 1992  Ian Searle  (ian@quixote)
  1738.  
  1739.     * matrix_*.c, bltin.c: Add calls to matrix_screen_string().
  1740.  
  1741.     * matrix.h (matrix_screen_string): Check for MTYPE == STRING, if
  1742.     TRUE, issue warning and longjmp().
  1743.  
  1744. Sat Nov 14 14:05:58 1992  Ian Searle  (ian@quixote)
  1745.  
  1746.     * sscan.l (new_file): Another overhaul, maybe someday I'll get it
  1747.     right.
  1748.  
  1749.     * rlab.y: Removed YYERROR usage, and replaced with longjmp().
  1750.  
  1751. Fri Nov 13 20:54:28 1992  Ian Searle  (ian@quixote)
  1752.  
  1753.     * main.c: Make jmp_buff an array. Change setjmp() call when
  1754.     loopong through filename arguments. If we run out of jmp_buff[]
  1755.     array, then STOP program.
  1756.  
  1757. Wed Nov 11 23:11:30 1992  Ian Searle  (ian@quixote)
  1758.  
  1759.     * matrix_op1.c (matrix_MultiplyCC): Call BLAS-3 ZGEMM().
  1760.  
  1761. Tue Nov 10 19:06:47 1992  Ian Searle  (ian@quixote)
  1762.  
  1763.     * matrix.c (matrix_CreateCLoad): Fixed bad matrix ref.
  1764.  
  1765.     * matrix.c (matrix_read_string): Completed.
  1766.  
  1767. Mon Nov  9 20:00:24 1992  Ian Searle  (ian@quixote)
  1768.  
  1769.     * !!! ADDITIONS TO LAPACK-C LIBRARY !!!
  1770.  
  1771.     * matrix_op2.c (matrix_Ldivide): Checks appropriate dimensions and
  1772.     calls matrix_LS.
  1773.  
  1774.     * fi_2.c (matrix_LS): New functions.
  1775.  
  1776.     * fi_1.c, fi_2.c: New files.
  1777.  
  1778.     * fi.c (matrix_Norm): The 2-norm is the ration of 1st/last
  1779.     singular values.
  1780.  
  1781. Sun Nov  8 10:39:10 1992  Ian Searle  (ian@quixote)
  1782.  
  1783.     * op_matrix.c (matrix_*_assign): Add call to matrix_gt_zero() to
  1784.     check indices for validity.
  1785.  
  1786.     * matrix_op2.c (matrix_gt_zero): New function
  1787.  
  1788.     * op_matrix.c (matrix_*_assign): Create LHS after looking at RHS
  1789.     type. 
  1790.  
  1791.     * op_append.c (matrix_string_app): Fix indexing bug that went
  1792.     passed end of array.
  1793.  
  1794.     * random.c (SRand): Add "clock" arg to enable setting seed from
  1795.     the clock.
  1796.  
  1797. Mon Nov  2 18:54:49 1992  Ian Searle  (ian@quixote)
  1798.  
  1799.     * matrix_op1.c (Sqrt, Log,...): Check for argument elements less
  1800.     than 0.
  1801.  
  1802.     * scalar_op1.c, matrix_op1.c (Log10): Added complex log10()
  1803.     capability. 
  1804.  
  1805.     * op_matrix.c (matrix_sub): Fix reduction of matrix string to
  1806.     scalar string.
  1807.  
  1808.     * matrix.c (matrix_print_string): Check for NULL ptrs before using
  1809.     strlen(). 
  1810.  
  1811.     * matrix.c (matrix_CreateS): Init string ptrs to 0 (for now).
  1812.  
  1813.     * util.c (print_What): Set unused matrix string ptrs to NULL
  1814.     string. 
  1815.  
  1816. Sun Nov  1 15:54:36 1992  Ian Searle  (ian@quixote)
  1817.  
  1818.     * matrix.[ch], op_append.c, op_matrix.c: Started in on adding
  1819.     matrices that contain STRING elements.
  1820.  
  1821. Sat Oct 31 11:34:13 1992  Ian Searle  (ian@quixote)
  1822.  
  1823.     * code.c, (ret_from_function): Do not try and clean argument
  1824.     variables while popping them off the stack.
  1825.  
  1826.     * bltin.c, (Name): Force name() to return "CONSTANT" when the
  1827.     entity name is "-1" (an constant in an argument list").
  1828.  
  1829.     * math_1.c, fi.c: Improved arg error checking, and added 2-norm
  1830.     option to Norm.
  1831.  
  1832. Fri Oct 30 17:43:39 1992  Ian Searle  (ian@quixote)
  1833.  
  1834.     * op_matrix.c: (matrix_vector_sub): Allow indexing of a SCALAR
  1835.     (only a single index).
  1836.  
  1837.     * op.c, util.c: Make all operations return a SCALAR, if the result
  1838.     is a 1x1 MATRIX.
  1839.  
  1840.     * scan.l: Call signal (SIG_IGN) in yy_input() to avoid causing a
  1841.     flex error.
  1842.  
  1843. Thu Oct 29 19:58:05 1992  Ian Searle  (ian@quixote)
  1844.  
  1845.     * rlab.y, scan.l: Add prompt variable to change the prompt for IF,
  1846.     FOR, WHILE, and functions.
  1847.  
  1848.     * code.c (assign): Finished fixing garbage collection details. In
  1849.     this case I was copying SCALARS twice. Now v0.30 is as good as
  1850.     0.21. 
  1851.  
  1852. Wed Oct 28 21:50:42 1992  Ian Searle  (ian@quixote)
  1853.  
  1854.     * op_matrix.c (matrix_assign) Clean rhs value.
  1855.  
  1856.     * util.c (convert_to_matrix): Clean original SCALAR.
  1857.  
  1858.     * op_append.c (vector_create): Add garbage-collection.
  1859.  
  1860.     * scan.l (new_file): Simplified scheme for input stream switching.
  1861.  
  1862. Mon Oct 26 19:51:37 1992  Ian Searle  (ian@quixote)
  1863.  
  1864.     * matrix.c (matrix_ExtractVector): Made more MATLAB like, by
  1865.     looking at type of parent matrix when deciding what dimensions of
  1866.     extracted vector should be.
  1867.  
  1868.     * relation.c: All functions, made SCALAR rel-op MATRIX and
  1869.     vice-versa work.
  1870.  
  1871.     * main.c (intcatch): New function, catch user interrupts.
  1872.  
  1873. Sat Oct 24 08:29:22 1992  Ian Searle  (ian@quixote)
  1874.  
  1875.     * scan.l: Added trailing context rules for: 3./A conditions.
  1876.  
  1877.     * code.c (load_local_var): Make local vars UNDEFINED.
  1878.  
  1879. Fri Oct 23 18:08:03 1992  Ian Searle  (ian@quixote)
  1880.  
  1881.     * Started Adding el-ops to rlab.y, code.c...
  1882.  
  1883.     * Finished eradicating VECTORS
  1884.  
  1885. Tue Oct 20 23:47:39 1992  Ian Searle  (ian@quixote)
  1886.  
  1887.     * Embarking on experiment... remove VECTORS from the language as a
  1888.     separate data type. Replace ';' with ',' as arg separators.
  1889.  
  1890. Thu Oct 15 18:31:51 1992  Ian Searle  (ian@quixote)
  1891.  
  1892.     * code.c (find_lineno, find_filename): Remove function arg.
  1893.  
  1894. Wed Oct 14 19:34:10 1992  Ian Searle  (ian@quixote)
  1895.  
  1896.     * rlab.y, code.c: Add loff (100) to line numbers to avoid op-code
  1897.     collisions when searching backwards through the codes.
  1898.  
  1899. Mon Oct 12 20:35:55 1992  Ian Searle  (ian@quixote)
  1900.  
  1901.     * code.c (function_define): Fixe 1st line number assign to test
  1902.     for line #0.
  1903.  
  1904. Fri Oct  9 23:38:58 1992  Ian Searle  (ian@quixote)
  1905.  
  1906.     * bltin.c (Clear): New function.
  1907.  
  1908.     * Reverted back to UNDEFINED variables.
  1909.  
  1910. Thu Oct  8 19:28:47 1992  Ian Searle  (ian@quixote)
  1911.  
  1912.     * code.c (list_create): Make list creation use numerical index
  1913.     values. 
  1914.  
  1915.     * trig.c, vector_op2.[ch], matrix_op2.[ch]: Make atan2() take
  1916.     vectors and matrices as args.
  1917.  
  1918.     * function.c (function_Destroy): Check list existence before
  1919.     destroy. 
  1920.  
  1921. Wed Oct  7 18:59:12 1992  Ian Searle  (ian@quixote)
  1922.  
  1923.     * Start incorporating some of the simpler, more common op-code
  1924.     functions directly into the switch.
  1925.  
  1926.     * rlab.[yh], code.[ch], scan.l: Have finished most of the changes
  1927.     mention below. Additionally have made y = function()... workable.
  1928.  
  1929. Mon Oct  5 00:58:30 1992  Ian Searle  (ian@quixote)
  1930.  
  1931.     * rlab.[yh], code.[ch], function.[ch]: Extensive changes to allow
  1932.     copying a user-function. Some of the changes: 1) adding two new
  1933.     op-codes, OP_PUSH_ARG, OP_PUSH_LOCAL, which push local and arg
  1934.     vars without explicit ptr reference 2) the new op-codes caused
  1935.     changes to function_call(), function_ret(), ret_from_function(),
  1936.     push_var, bltin(), and some others. The new op-codes also caused
  1937.     some changes in the parser actions.
  1938.  
  1939. Sat Oct  3 20:28:15 1992  Ian Searle  (ian@quixote)
  1940.  
  1941.     * function.[ch], code.c: Allow user-functions to be assigned,
  1942.     copied. 
  1943.  
  1944.     * scalar.c, vector.c, matrix.c: *_Print() functions changed to
  1945.     print COMPLEX prettier.
  1946.  
  1947. Wed Sep 30 07:16:43 1992  Ian Searle  (ian@quixote)
  1948.  
  1949.     * rlab.y, scan.l: Parser is re-enbtrant now. (%pure_parser)
  1950.  
  1951. Mon Sep 28 19:27:29 1992  Ian Searle  (ian@quixote)
  1952.  
  1953.     * vector.c (vector_copy_complex): Fixed stupid indexing bugs.
  1954.  
  1955.     * math_3.c (FFT): Don't use rfftf() anymore, scale the result by
  1956.     1/N.
  1957.  
  1958.     * op.c, vector_op1.c, matrix_op2.c (power related functions):
  1959.     Added scalar^matrix, matrix^scalar, vector^vector.
  1960.  
  1961.     * vector.c, matrix.c (Create functions): Removed ASSERT(), and
  1962.     replaced with if-test for dimensions < 0.
  1963.  
  1964.     * random.c (Rand): Fix improper ref to arg.u.val, should be
  1965.     arg.u.ent. 
  1966.  
  1967. Sun Sep 27 20:44:54 1992  Ian Searle  (ian@quixote)
  1968.  
  1969.     * op_matrix.c (matrix_transpose): Allow transpose of a vector.
  1970.  
  1971.     * matrix_op1.c (matrix_Transpose): Make complex transpose,
  1972.     complex-conjugate transpose.
  1973.  
  1974.     * random.c (SRand): error() when srand() os called with zero
  1975.     valued arg.
  1976.  
  1977.     * matrix_comp.c (matrix_Eig_NEP): Malloc for vl now, even though
  1978.     we don't uses it.
  1979.  
  1980.     * scan.l: Made 1e6i work.
  1981.  
  1982.     * random.c (Srand): Fixed bozo mistakes in inner switch.
  1983.  
  1984.     * matrix_op1.c (matrix_Log10): Fixed assignment.
  1985.  
  1986.     * rlab.y, code.[ch]: Modified list creation syntax, and behavior.
  1987.  
  1988. Thu Sep 24 21:52:01 1992  Ian Searle  (ian@quixote)
  1989.  
  1990.     * code.c (list_create): Write variable names to objects, as well
  1991.     as ListNodes.
  1992.  
  1993.     * scalar.c, vector.c, matrix.c string.c btree.c (Write): Fixed
  1994.     write functions so that the default name is NOT written on the
  1995.     entity. 
  1996.  
  1997.     * math_1.c (Exp): Fixed exp() to take complex constant.
  1998.  
  1999. Wed Sep 23 19:08:13 1992  Ian Searle  (ian@quixote)
  2000.  
  2001.     * matrix.c (matrix_Print): Played with print format.
  2002.  
  2003.     * matrix_comp.c (NEP): Finally added calls to ZGEEV.
  2004.  
  2005.     * math_2.c (Max, Min): Fixed stupid bug in returning max and min
  2006.     values of a scalar.
  2007.  
  2008.     * config.rs6000: New header file.
  2009.  
  2010.     * math_3.c (IFFT): New function.
  2011.  
  2012. Tue Sep 22 23:08:14 1992  Ian Searle  (ian@quixote)
  2013.  
  2014.     * op.c: Added tests for STRINGS in +, -, *, / functions, must
  2015.     finish rest.
  2016.  
  2017.     * util.c (convert_to_scalar): Added more error checking.
  2018.  
  2019.     * scan.l: Start counting interactive lines at 0.
  2020.  
  2021.     * main.c (error_?): Break error message into multiplt lines.
  2022.  
  2023.     * vector.[ch] (vector_Extend): Removed type spec. Reduce scope of
  2024.     function, now it only does what the name implies, extend the
  2025.     vector if necc.
  2026.  
  2027.     * op_vector.c (vector_assign): Many changes, mostly centered
  2028.     aaround calling vector_Extend.
  2029.  
  2030. Mon Sep 21 19:34:23 1992  Ian Searle  (ian@quixote)
  2031.  
  2032.     * scan.l: Added rule to scanner to handle `1e-3'. No decimal
  2033.     point. 
  2034.  
  2035.     * Doc/rlab.tex: Finally started working on the doc again.
  2036.  
  2037.     * rlab.y (yyparse): Removed silly restrictions in for, if, while,
  2038.     and function statements forcing users to type `{' on the same line
  2039.     as the `)'.
  2040.  
  2041.     * config.h: Added FOPEN_MAX for users who don't have one to set.
  2042.  
  2043.     * math_3.c (FFT): Added vector and matrix fft capability. This is
  2044.     neither finished, or checked out. Will undoubtedly change.
  2045.  
  2046. Sun Sep 20 19:01:13 1992  Ian Searle  (ian@quixote)
  2047.  
  2048.     * random.c (Rand): New file, some new functions. Finished hooking
  2049.     up rand ro RANLIB functions.
  2050.  
  2051.     * rlab.y (yyparse): Added ':' to precedence table (just above
  2052.     ','), and changed vec_expr production from:
  2053.  
  2054.          | vec_expr ',' expr  { code(OP_VEC_APPEND); }
  2055.  
  2056.      to:
  2057.  
  2058.          | vec_expr ',' vec_expr  { code(OP_VEC_APPEND); }
  2059.  
  2060.      This change makes expressions like `1,2,3:10' possible.
  2061.  
  2062.  
  2063.     * op_matrix.c (ent_ent_mat_promote): same as previous.
  2064.  
  2065.     * op_matrix.c (ent_con_mat_promote): same as previous.
  2066.  
  2067.     * op_matrix.c (con_ent_mat_promote): Fixed silly type checking
  2068.     errors that were preventing b[1;1,2] from working.
  2069.  
  2070. Sat Sep 19 00:00:39 1992  Ian Searle  (ian@quixote)
  2071.  
  2072.     * Picked up changes in config.sun4, bltin.h, btree.c, courtesy 
  2073.     R. M. Cothren.
  2074.  
  2075.     * op_vector.c (vector_assign): Improved error handling, and added
  2076.     more remove_tmp_destroy() calls.
  2077.  
  2078. Fri Sep 18 19:18:24 1992  Ian Searle  (ian@quixote)
  2079.  
  2080.     * op_vector.c  (vector_matrix_app): Same fix as below.
  2081.  
  2082.     * op_vector.c (vector_vector_app): Type in loop index (for REAL,
  2083.     COMPLEX) causing core dump. fix: add `+1'
  2084.  
  2085.     * code.c (bltin): Try and clean-up the argument from the tmplist.
  2086.  
  2087.     * code.c (ret_from_function): call remove_tmp_destroy() when
  2088.     poping local and arg vars.
  2089.  
  2090.     * op_matrix.c (matrix_assign): Add calls to remove_tmp_destroy(). 
  2091.  
  2092.     * op_matrix.c (matrix_transpose): Add call to
  2093.     remove_tmp_destroy().
  2094.  
  2095. Thu Sep 17 21:28:23 1992  Ian Searle  (ian@quixote)
  2096.  
  2097.     * math_3.c (FFT): Not finished yet, but compiled and setup
  2098.     libCfftpack.a 
  2099.  
  2100.     * math_1.c (SRand): New function.
  2101.  
  2102.     * math_1.c (Rand): Converted to RANLIB usage.
  2103.  
  2104.     * print.f (do_printf): Fixed sval overflow bug. Put in a test, and
  2105.     an error message.
  2106.  
  2107. Tue Sep 15 22:31:16 1992  Ian Searle  (ian@quixote)
  2108.  
  2109.     * code.c (list_member): Added more error checking, and .class
  2110.     capability for user and bltin functions.
  2111.  
  2112.     * matrix_comp.c (matrix_Eig_GSEP): New function.
  2113.  
  2114. Mon Aug 10 00:05:41 1992  Ian Searle  (ian@quixote)
  2115.  
  2116.     * print.c (Printf): New Function.
  2117.  
  2118. Thu Aug  6 18:53:35 1992  Ian Searle  (ian@quixote)
  2119.  
  2120.     * matrix_comp.c (Qr): Add COMPLEX qr() matrix_QrZ().
  2121.  
  2122.     * matrix_comp.c (Qr): Add install() calls.
  2123.  
  2124.     * math_1.c (Solve): Allow vector, or column matrix as 2nd arg.
  2125.  
  2126.     * rlab.y (yyparse): Add error checking for break and continue
  2127.     outsid of loops.
  2128.  
  2129.     * bltin.c (Zero): if zero() called with no arg of 0 return a
  2130.     scalar. 
  2131.  
  2132. Wed Aug  5 20:50:50 1992  Ian Searle  (ian@quixote)
  2133.  
  2134.     * Added ./lib/editline; a readline(3) like library, but smaller.
  2135.  
  2136. Tue Aug  4 21:36:39 1992  Ian Searle  (ian@quixote)
  2137.  
  2138.     * code.c (function_return): Set the name of an object to 0 when we
  2139.     zero out the name of the entity, returning local datums only.
  2140.  
  2141.     * bltin.c (Size): Make size() return 1 for size of a scalar.
  2142.  
  2143.     * code.c, functi[ch]: Added capability to print() to print
  2144.     function op-codes when -d is used.
  2145.  
  2146.     * Finished up most of relational ops (matrix-scalar).
  2147.  
  2148. Sun Aug  2 11:09:21 1992  Ian Searle  (ian@quixote)
  2149.  
  2150.     * relation.c, complex.[ch], scalar_op1.[ch], vector_op1.[ch]:
  2151.     working on finishing up the vector - scalar realtional ops.
  2152.  
  2153.     * code.c (find_lineno): (*--p) prevented checking current lineno. 
  2154.  
  2155. Fri Jul 31 20:39:38 1992  Ian Searle  (ian@quixote)
  2156.  
  2157.     * code.[ch], rlab.y, dissassem.c, main.c: Added file name, and
  2158.     line numbers to error messages. Some new functions...
  2159.     find_lineno(), find_file_name().
  2160.  
  2161. Tue Jul 28 23:38:03 1992  Ian Searle  (ian@quixote)
  2162.  
  2163.     * Have added the basics of complex variables, constants, etc...
  2164.     Have re-checked everything in after extensive changes to many
  2165.     files, and some brand-new files.
  2166.  
  2167.